/* 订单页面容器 */
.order-container {
    background-color: #f9f9f9;
    min-height: 100vh;
    padding: 0;
  }
  
  /* 顶部选项卡样式 */
  .van-tabs__wrap {
    box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .van-tab {
    font-size: 30rpx;
    color: #666;
  }
  
  .van-tab--active {
    color: #FF5A5F;
    font-weight: bold;
  }
  
  .van-tabs__line {
    background-color: #FF5A5F;
    height: 4rpx;
  }
  
  /* 订单卡片样式 */
  .order-card {
    background: #fff;
    margin: 20rpx;
    border-radius: 16rpx;
    padding: 30rpx;
    box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
  }
  
  .order-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8rpx;
    height: 100%;
  }
  
  .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20rpx;
    margin-bottom: 20rpx;
    border-bottom: 1rpx dashed #f0f0f0;
  }
  
  .order-id {
    font-size: 26rpx;
    color: #999;
  }
  
  .order-status {
    font-size: 28rpx;
    font-weight: bold;
    padding: 6rpx 16rpx;
    border-radius: 20rpx;
  }
  
  /* 不同状态的颜色 */
  .order-status.pending {
    color: #FF9500;
    background-color: rgba(255, 149, 0, 0.1);
  }
  
  .order-status.delivering {
    color: #34C759;
    background-color: rgba(52, 199, 89, 0.1);
  }
  
  .order-status.completed {
    color: #007AFF;
    background-color: rgba(0, 122, 255, 0.1);
  }
  
  .order-status.refund {
    color: #FF3B30;
    background-color: rgba(255, 59, 48, 0.1);
  }
  
  /* 商品项样式 */
  .product-item {
    display: flex;
    margin-bottom: 30rpx;
    position: relative;
  }
  
  .product-image {
    width: 180rpx;
    height: 180rpx;
    border-radius: 12rpx;
    margin-right: 24rpx;
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
    object-fit: cover;
  }
  
  .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .product-name {
    font-size: 30rpx;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  
  .price-count-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15rpx;
  }
  
  .product-price {
    color: #FF5A5F;
    font-weight: bold;
    font-size: 32rpx;
  }
  
  .product-price::before {
    content: "¥";
    font-size: 24rpx;
  }
  
  .product-count {
    color: #999;
    font-size: 26rpx;
  }
  
  /* 订单底部样式 */
  .order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20rpx;
    padding-top: 20rpx;
    border-top: 1rpx dashed #f0f0f0;
  }
  
  .order-time {
    color: #999;
    font-size: 24rpx;
  }
  
  /* 操作按钮样式 */
  .order-actions {
    display: flex;
    justify-content: flex-end;
  }
  
  .action-btn {
    width: 160rpx !important;
    height: 60rpx;
    line-height: 60rpx;
    font-size: 26rpx;
    border-radius: 30rpx;
    background: #fff;
    border: 1rpx solid #FF5A5F;
    color: #FF5A5F;
    margin-left: 20rpx;
    padding: 0 25rpx;
    transition: all 0.3s;
  }
  
  .action-btn:active {
    background: rgba(255, 90, 95, 0.1);
  }
  
  .action-btn.primary {
    background: #FF5A5F;
    color: #fff;
  }
  
  /* 空状态样式 */
  .empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: -240rpx;
    text-align: center;
  }
  
  .empty-image {
    width: 240rpx;
    height: 240rpx;
    margin-bottom: 40rpx;
    opacity: 0.5;
  }
  
  .empty-text {
    font-size: 28rpx;
    color: #999;
    margin-bottom: 20rpx;
  }
  
  .empty-desc {
    font-size: 24rpx;
    color: #ccc;
  }
  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  .loading-text {
    font-size: 26rpx;
    color: #999;
  }
  /* 弹窗容器：控制遮罩层、弹窗位置 */
.refund-popup {
    /* 覆盖 vant 默认遮罩，可根据需求调整背景 */
    --van-popup-background: rgba(0,0,0,0.6); 
  }
  
  /* 弹窗内容区域 */
  .refund-dialog {
    width: 80%; /* 控制弹窗宽度，适配不同设备 */
    max-width: 500rpx;
    background: #fff;
    border-radius: 20rpx;
    padding: 30rpx;
    box-sizing: border-box;
    margin: 0 auto;
  }
  
  /* 弹窗标题 */
  .dialog-title {
    font-size: 36rpx;
    font-weight: bold;
    color: #333;
    margin-bottom: 20rpx;
    border-left: 8rpx solid #ff6699; /* 增加标题左侧装饰线 */
    padding-left: 10rpx;
  }
  
  /* 输入框定制 */
  .refund-field {
    --van-field-border-radius: 20rpx;
    --van-field-background: #f8f8f8;
    margin-bottom: 100rpx;
  }
  
  /* 按钮组布局 */
  .btn-group {
    display: flex;
    justify-content: flex-end;
    gap: 20rpx; /* 按钮间距 */
  }
  
  /* 取消按钮 */
  .cancel-btn {
    background: #f5f5f5;
    color: #666;
    border-radius: 10rpx;
    padding: 12rpx 30rpx;
    font-size: 28rpx;
  }
  
  /* 确认按钮 */
  .confirm-btn {
    background: #ff6699;
    color: #fff;
    border-radius: 10rpx;
    padding: 12rpx 30rpx;
    font-size: 28rpx;
  }
  
  /* 按钮点击反馈（可选，增强交互） */
  .cancel-btn:active,
  .confirm-btn:active {
    opacity: 0.8;
    transform: scale(0.98);
  }